Repository navigation
Conversation
This was referenced Dec 3, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/zcash #1564 +/- ##
=============================================
Coverage ? 21.80%
=============================================
Files ? 1157
Lines ? 116360
Branches ? 0
=============================================
Hits ? 25374
Misses ? 90986
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ZcashWalletand the realzcash-ffilibrary against a local regtest chain:zebradas the node andlightwalletdin front of it.scripts/zcash_e2e_test.sh, which checks the app is configured with Zcash and runs the test, and a section indocs/building/testing.md.The test is self-contained: it starts both daemons on free ports in a temporary directory and stops them at the end. It needs no regtest infrastructure from elsewhere in the app and touches no shared code. CI does not run it, because CI has no
zebradorlightwalletd.Stacked on #1563.
What it covers
One scenario, in the order a user meets it:
The wallet under test runs the same configuration as on mainnet: the regtest network only changes the address encoding and the activation height the builder is told.
Commits
test: add Zcash regtest end-to-end coverage.Size
4 files, +813: the chain driver (
integration_test/zcash/zcash_regtest_chain.dart), the test, the script, and the docs section.Running it
It is tested with zebrad 7.0.0 and lightwalletd 0.6.1. On a machine without a display, run it under
xvfb-run -a.Verification
At this PR's head (
53cd4efcc):xvfb-run -a bash scripts/zcash_e2e_test.sh linuxwith zebrad 7.0.0 and lightwalletd 0.6.1: 1/1, in about a minute after the build.flutter analyzeon the changed Dart files: no errors.flutter testsuite: 1559 passed, 8 skipped, and four Firo cache tests (infiro_cache_clear_test.dart,firo_cache_reset_lifecycle_test.dartandfiro_cache_refresh_reset_test.dart) that time out in full runs on this machine and pass when those files are run on their own (17/17). This PR adds no unit tests.